package angryBirds;

/*
 * 火箭鸟
 */

public class RocketBird extends Bird {
	public RocketBird(ShoutAbility shoutAbility) {
		super(shoutAbility);
	}

	// 重写飞方法
	public void fly() {
		System.out.println("火箭鸟弹射飞");
	}

	// 重写攻击方法
	public void attack() {
		System.out.println("加速冲撞攻击！");
	}
}
